package com.android.pdd.baseapp.api.my;

import com.android.pdd.baseapp.model.HttpResponse;
import com.lg.meng.model.ResponseVersionData;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Author: xx
 * Date: 2020/03/23
 * Description:
 */
public interface MApiService {
    /****新版本检测****/
    @FormUrlEncoded
    @POST("store666/checkVersion")
    Observable<HttpResponse<ResponseVersionData>> checkVersion(@Field("versionCode") int versionCode, @Field("serverIp") String serverIp);
}
